﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Pattern_State
{
    class Program
    {
        static void Main(string[] args)
        {
            Context context = new Context(new State1());
            context.Request();
            context.Replace(new State2());
            context.Request();
        }
    }
}
